#pragma once
#include <easyx.h>
#include <iostream>
#include <string>

using namespace std;

class Outtextxy {
private:
    int x;
    int y;
    int width;
    int height;
    std::wstring text;

public:
    Outtextxy(int x, int y, int width, int height, const std::wstring& text);
    ~Outtextxy();
    // const wstring& getText() const;
    void setText(const std::wstring& newText);
    void draw();
};